#include <iostream>
#include <jsoncpp/json/json.h>
// {a:120, b: "123"}
int main()
{
    Json::Value root;
    root["x"] = 100;
    root["y"] = 200;
    root["op"] = '+';
    root["dect"] = "this is a + oper";

    Json::FastWriter w;
    std::string res = w.write(root);
    
    std::cout << res << std::endl;

    return 0;
}
